package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
 import java.io.Serializable;
import java.math.BigDecimal;
 /**
 * <p>
 * 
 * </p>
 *
 * @author lian
 * @since 2017-01-05
 */
@TableName("user_birthday")
public class UserBirthday extends Model<UserBirthday> {
     private static final long serialVersionUID = 1L;
 	/**
	 * 
	 */
	private String birthday;
	/**
	 * 
	 */
	@TableId(value="phone_num")
	private BigDecimal phoneNum;
	/**
	 * 
	 */
	@TableField(value="user_name")
	private String userName;
 	@Override
	public String toString() {
		return "UserBirthday{" +
				"birthday=" + birthday +
				", phoneNum=" + phoneNum +
				", userName='" + userName + '\'' +
				'}';
	}
 	public String getBirthday() {
		return birthday;
	}
 	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
 	public BigDecimal getPhoneNum() {
		return phoneNum;
	}
 	public void setPhoneNum(BigDecimal phoneNum) {
		this.phoneNum = phoneNum;
	}
 	public String getUserName() {
		return userName;
	}
 	public void setUserName(String userName) {
		this.userName = userName;
	}
 	@Override
	protected Serializable pkVal() {
		return this.phoneNum;
	}
 }
